#include <stdio.h>
#include "Spline.h"

int main(){
    int N;
    std::vector<double> x,y;
    
    N=41;
    for(int i=0;i<=N;i++){
        double s=-1.0+2.0*i/N;
        x.push_back(s);
        y.push_back(1/(1+25*pow(s,2.0)));
    }
    ppform func1(x,y);
    func1.Linear_spline();
    func1.print_linear_spline();
    func1.Complete_spline(50.0/pow(26.0,2),-50.0/pow(26.0,2),3700.0/pow(26.0,3),3700.0/pow(26.0,3));
    func1.print_complete_spline();
}

